package com.jyh.domain;

import javax.xml.catalog.Catalog;

class Student {
    static int num;

    static {
        System.out.println("这是静态代码块");
    }

    {
        System.out.println("这是构造代码块");
    }
    public Student(){
        System.out.println("");
    }
    public Student(int number){
        System.out.println("");
    }

    public class BlockDemo{
        public static void main(String[] args){
            new Student(3);
            new Student();
        }
    }

}
